package com.example.service;

import com.example.config.ProviderClientFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;


@FeignClient(value = "nacos-provider",fallbackFactory= ProviderClientFallback.class)
public interface ProviderFeign {
    @GetMapping("/providers/teachers")
     String teachers();

}
